package com.danciyixue.boot.dcyx.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.danciyixue.boot.dcyx.model.entity.Organizations;
import com.danciyixue.boot.dcyx.model.form.OrganizationsForm;

/**
 * 组织机构信息对象转换器
 *
 * @author youlaitech
 * @since 2025-06-15 16:23
 */
@Mapper(componentModel = "spring")
public interface OrganizationsConverter{

    OrganizationsForm toForm(Organizations entity);

    Organizations toEntity(OrganizationsForm formData);
}